package com.kx.kxblog.dao;

import com.kx.kxblog.entity.Category;
import com.kx.kxblog.entity.Site;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Collection;
import java.util.List;

public interface CategoryDao extends JpaRepository<Category, Integer> {
    Collection<Category> findByUserId(int userId);
}
